//扫描icons文件夹内的所有svg
export const getIconList = (): string[] => {
    let files = import.meta.glob("@/icons/**/**.svg");
    let iconList: string[] = [];
    for (let file in files) {
        let path = file.substring(11, file.lastIndexOf(".svg"));
        iconList.push(path);
    }
    return iconList;
};
